﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using DailyDiet.Services.Impl;

namespace DailyDiet.Services
{
    public interface ISplitSentenceService {
        /// <summary>
        /// 将句子拆分根据语义拆分为词
        /// </summary>
        /// <param name="sentence"></param>
        /// <returns></returns>
        List<string> SplitSentenceToWords(string sentence);

        /// <summary>
        /// panJieba初始化
        /// </summary>
        /// <returns></returns>
        bool JiebaIsInitialize();

        /// <summary>
        /// 初始化jieba
        /// </summary>
        /// <returns></returns>
        Task InitializeJieba();
    }
}
